targets = [
'lxml==4.0.0',
'scipy==1.0.0', 
'Keras==2.0.9',
'lightgbm==2.0.10',
'matplotlib==1.5.3',
'numpy==1.13.3',
'pandas==0.19.2',
'scikit-learn==0.19.1',
'jupyter',
'tushare',
'Cython',
'simplejson',
'pymongo',
'xlrd',
'h5py',
]

import os
import pip

os.system('sudo apt-get install libhdf5-dev')

for target in targets:
    print('[My Message] Installing %s.' %(target))
    pipcode = pip.main(['install', target])
    retcode = 0
    retcode = retcode or pipcode
